package com.allsofts.pattern.course.proxy.staticed;

/**
 * 静态代理father
 * **/
public class Father {
    private Person person;

    //没办法扩展
    public Father(Person person) {
        this.person = person;

    }

    //目标对象的引用拿到
    public void findLove() {
        System.out.println("根据你的要求物色");
        this.person.findLove();
        System.out.println("双方父母是不是同意");

    }
}
